﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WebSocketClientTestTool
{
    public partial class FormHelp : Form
    {
        public FormHelp()
        {
            InitializeComponent();
        }

        private void lnkLabelMailTo_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("mailto:" + lnkLabelMailTo.Text);
        }

        private void lnkLabelOpenConfigJson_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var jsonPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Config.json");
            System.Diagnostics.Process.Start(jsonPath);
        }
    }
}
